@extends('main')

@section('tip', '重置密码')

@section('content')

<div class="row">
    <div class="col-md-6 col-md-offset-3">

    <div class="panel panel-default">
        <div class="panel-heading">重置密码:{{ $email }}</div>
        <div class="panel-body">
        {!! Form::open(['route'=>'reset', 'method'=>'POST']) !!}
        {!! Form::hidden('token', $token) !!}
        {!! Form::hidden('email', $email) !!}
        
        {!! Form::label('password', '新密码') !!}
        {!! Form::password('password', ['class'=>'form-control']) !!}

        {!! Form::label('password', '确认密码') !!}
        {!! Form::password('password_confirmation', ['class'=>'form-control']) !!}

        {!! Form::submit('重置密码', ['class'=>'btn btn-primary btn-block btn-lg', 'style'=>'margin-top:20px']) !!}
        {!! Form::close() !!}
        </div>
    </div>
    </div>
</div>

@endsection